# Replication for "Watts and Botts: The Energy Implications of AI Adoption"
# Code written by Anthony Harding, Georgia Tech, School of Public Policy (aharding6@gatech.edu)


## Description ##
This directory contains the code and data to replicate the findings of "Watts and Botts: The Energy Implications of AI Adoption" including all tables and figures. The root directory is contains 3 subdirectories: 
	Code - contains code for the replication
	Data - contains Input and Output data for the replication
	TablesAndFigures - contains tables and figures generated in the replication
	

## Requirements ##
Running the full replication requires access to the following software: R (v4.3.2), Python (v3.11.5).






## README ##

This file describes the code directory structure. For data sources see Data/Input/README.txt.
Code runs in numeric ordering. Be sure to set working directory path at top of code files before running.

############
### Code ###
############

01_Wagebillweighted_exposure_industry.py
	Code to calculate exposure to AI across NAICS industry classifications starting from task level exposure scores.

02_EnergyAndEmissionsImpact.R
	Code to calculate industry and aggregate impacts of AI adoption on energy and emissions.

03_EnergyAndEmissionsImpact_Projected.R
	Code to calculate industry and aggregate impacts of AI adoption on energy and emissions after projecting industry energy and emissions intensities.



###############################
### Text Tables And Figures ###
###############################

Figure 1b - TablesAndFigures/ISICRev4_Industry_Wagebillweighted_Exposure.pdf
	- Generated in 02_EnergyAndEmissionsImpact.R

Figure 2 - TablesAndFigures/ShockvsValueAdded.pdf, TablesAndFigures/ChangeinGDPvsEnergyIntensity.pdf, TablesAndFigures/ChangeinEnergyvsEmissionsIntensity.pdf
	- Generated in 02_EnergyAndEmissionsImpact.R

Table 1 - Data/Output/FinalEstimates.csv
	- Generated in 02_EnergyAndEmissionsImpact.R

Figure 3 - TablesAndFigures/ChangeinEnergySensitivity.pdf, TablesAndFigures/ChangeinEmissionsSensitivity.pdf
	- Generated in 02_EnergyAndEmissionsImpact.R

	
	
	
	
	
	
	